package service

import (
	"context"
	"gitee.com/perception-network/block-chain-released/internal/repository"
)

var (
	BlockChainSvc BlockChainReleaser
)

func GlobalInit() {
	BlockChainSvc = NewBlockChainReleaseServiceImpl(repository.BlockChainRepo)

	BlockChainSvc.RunBlockChainReleaseCheck(context.Background())
}
